/**
 * Created by Administrator on 2017/10/9.
 */
function checkForm() {
    var username = document.getElementById("username").value;
    if(username == null || username == ""){
        alert("用户名不能为空");
        return false;
    }
    var password;
    var confirmPass;

    if(password != confirmPass){
        alert("密码不一致")
        return false;
    }
}